package com.zz.util;

import com.zz.common.Result;

public class Util {

    public static Result success(Object data){
        return new Result("200", "成功", data);
    }

    public static Result error(Object data){
        return new Result("-1", "失败", data);
    }

}
